package org.springblade.modules.admin.entity.feishu;

import lombok.Data;

/**
 * 年审日期正本消息卡片
 * @author: Sharry
 * @createTime: 2024-05-13 16:19
 * @version: Version-1.0
 */
@Data
public class FeiShuTableAnnualReviewDateTemplate {
	private String groupMessageTemplate;

	public FeiShuTableAnnualReviewDateTemplate() {
		this.groupMessageTemplate = "{\n" +
			"    \"config\": {},\n" +
			"    \"i18n_elements\": {\n" +
			"        \"zh_cn\": [\n" +
			"            {\n" +
			"                \"tag\": \"column_set\",\n" +
			"                \"flex_mode\": \"none\",\n" +
			"                \"horizontal_spacing\": \"default\",\n" +
			"                \"background_style\": \"default\",\n" +
			"                \"columns\": [\n" +
			"                    {\n" +
			"                        \"tag\": \"column\",\n" +
			"                        \"elements\": [\n" +
			"                            {\n" +
			"                                \"tag\": \"div\",\n" +
			"                                \"text\": {\n" +
			"                                    \"tag\": \"plain_text\",\n" +
			"                                    \"content\": \" %s\",\n" +
			"                                    \"text_size\": \"normal\",\n" +
			"                                    \"text_align\": \"left\",\n" +
			"                                    \"text_color\": \"default\"\n" +
			"                                }\n" +
			"                            }\n" +
			"                        ],\n" +
			"                        \"width\": \"weighted\",\n" +
			"                        \"weight\": 1\n" +
			"                    }\n" +
			"                ]\n" +
			"            },\n" +
			"            {\n" +
			"                \"tag\": \"action\",\n" +
			"                \"actions\": [\n" +
			"                    {\n" +
			"                        \"tag\": \"button\",\n" +
			"                        \"text\": {\n" +
			"                            \"tag\": \"plain_text\",\n" +
			"                            \"content\": \"表格链接\"\n" +
			"                        },\n" +
			"                        \"type\": \"default\",\n" +
			"                        \"complex_interaction\": true,\n" +
			"                        \"width\": \"default\",\n" +
			"                        \"size\": \"medium\",\n" +
			"                        \"multi_url\": {\n" +
			"                            \"url\": \"%s\",\n" +
			"                            \"pc_url\": \"%s\",\n" +
			"                            \"ios_url\": \"%s\",\n" +
			"                            \"android_url\": \"%s\"\n" +
			"                        }\n" +
			"                    }\n" +
			"                ]\n" +
			"            }\n" +
			"        ]\n" +
			"    },\n" +
			"    \"i18n_header\": {\n" +
			"        \"zh_cn\": {\n" +
			"            \"title\": {\n" +
			"                \"tag\": \"plain_text\",\n" +
			"                \"content\": \"飞书多维表格更新\"\n" +
			"            },\n" +
			"            \"subtitle\": {\n" +
			"                \"tag\": \"plain_text\",\n" +
			"                \"content\": \"\"\n" +
			"            },\n" +
			"            \"template\": \"carmine\"\n" +
			"        }\n" +
			"    }\n" +
			"}";
	}
}
